home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
util
/
gnu
/
textutils_1_3.LHA
/
textutils-1.3
/
cat
/
head.1
< prev
next >
Wrap
Text File
|
1992-09-22
|
2KB
|
67 lines
HEAD(1L) MISC. REFERENCE MANUAL PAGES HEAD(1L)
NAME
head - output the first part of files
SYNOPSIS
head [-c N[bkm]] [-n N] [-qv] [--bytes=N[bkm]] [--lines=N]
[--quiet] [--silent] [--verbose] [file...]
head [-Nbcklmqv] [file...]
DESCRIPTION
This manual page documents the GNU version of head. head
prints the first part (10 lines by default) of each given
file; it reads from standard input if no files are given or
when a filename of `-' is encountered. If more than one
file is given, it prints a header consisting of the file's
name enclosed in `==>' and `<==' before the output for each
file.
OPTIONS
head accepts two option formats: the new one, in which
numbers are arguments to the option letters, and the old
one, in which the number precedes any option letters.
-_c _N, --_b_y_t_e_s _N
Print first N bytes. N is a nonzero integer, option-
ally followed by one of the following characters to
specify a different unit.
b 512-byte blocks.
k 1-kilobyte blocks.
m 1-megabyte blocks.
-_l, -_n _N, --_l_i_n_e_s _N
Print first N lines.
-_q, --_q_u_i_e_t, --_s_i_l_e_n_t
Never print filename headers.
-_v, --_v_e_r_b_o_s_e
Always print filename headers.
The long-named options can be introduced with `+' as well as
`--', for compatibility with previous releases. Eventually
support for `+' will be removed, because it is incompatible
with the POSIX.2 standard.
Sun Release 4.1 Last change: 1